package org.finesys.common.xss.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Collections;
import java.util.List;

@ConfigurationProperties(prefix = "xss")
@Data
public class XssProperties {
    /**
     * 是否开启xss过滤
     */
    private boolean enable = true;
    /**
     * 忽略xss过滤的请求路径
     */
    private List<String> ignoreUrls = Collections.EMPTY_LIST;
}
